var express = require('express');
var router = express.Router();
const getClassController = require("../controllers/getClass_controller")
router.get("/getClass", (req, res) => {
    var {
        page,
        pagesize,

    } = req.query
    getClassController.getClasslist({
        page,
        pagesize,
    }, ["查询失败", "查询成功"], (result) => {
        res.json(result)
    })
})
module.exports = router;